
<!-- 页头 -->
<div id="toolbar">
    <div class="bar-con">
        <ul class="topNav fl">
            <PHP>$_GET['m']=$Think.MODULE_NAME;</PHP>
            <li class="first"><a href="{$setting['site_domain']}" class="{$mod=='topic'?'':'active'}">{$setting['site_name']}</a>
            </li>
            
            <!-- 
            <li>
                <a href="/wap" target="_blank">
                    <em class="icon-normal icon-phone"></em>手机版</a>
            </li>
            -->
        </ul>
        <div class="right-show fr">
            <if condition="$my['uid'] gt 0">
                <div class="union-login">
                   
                    <a href="{:U('User/index')}"><i class="fa fa-user"></i> &nbsp;{$my['username']}</a>
                    <a href="{:U('User/logout')}"><i class="fa fa-sign-out"></i> &nbsp;退出</a>
                </div>
                <else/>
                <div class="login-show"><a href="{:U('User/login')}" rel="nofollow">登录</a><a href="{:U('User/register')}" rel="nofollow">免费注册</a>　|</div>
                
            </if>            
            <div class="other-show">
            </div>
        </div>
    </div>
</div>
<div class="header">
    <div class="area">
        <a class="juan-logo fl" href="/" title="{$setting['site_name']}首页">
            <div class="fl" style="margin-top:20px">
                <img style='width:163px;height:37px;' src="__IMG__/logo.png">
            </div>
        </a>
        <div class="protection">
            <a title="每天10点开抢" class="update" href="javascript:;" target="_blank" rel="nofollow"></a>
            <a title="职业买手砍价" class="lowest" href="javascript:;" target="_blank" rel="nofollow"></a>
            <a title="商品验货质检" class="check" href="javascript:;" target="_blank" rel="nofollow"></a>
        </div>
        <div class="search">
            <form action="{:U('Search/index')}" method="POST">
               
            <span class="search-area fl">
                <input name="keywords" id="keywords" class="txt" value="请输入想找的宝贝" title="请输入想找的宝贝" type="text" onblur="if (value=='') {value='请输入想找的宝贝'}" onfocus="if(value=='请输入想找的宝贝') {value=''}">
            </span>
            <input value="" class="smt fr" type="submit">
            </form>
        </div>
    </div>

    <div class="mainNav">
        <div class="nav">
            <ul id="" class="navigation fl">
            	
                <notempty name="nav">
                    <volist name="nav" id="nav">
                    	<eq name="nav.pid" value="0">
                        <li >
                            <a id="nav-{$nav.id}"  href="{$nav.url|get_nav_url}" target="<eq name='nav.target' value='1'>_blank<else/>_self</eq>">{$nav.title}</a>
                        </li>
                        </eq>
                     </volist>
                </notempty>
            </ul>
            <div class="state-show fr"> 
            </div>
        </div>
    </div>
    
</div>
<!-- /页头 -->
